#ifndef _gatts_table_H_
#define _gatts_table_H_
/*
 * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Unlicense OR CC0-1.0
 */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>


/* Attributes State Machine */
enum IDX0
{
    IDX_SVC,

    IDX_CHAR_READ,
    IDX_CHAR_READ_VAL,
    IDX_CHAR_READ_CFG,

    IDX_CHAR_WRITE,
    IDX_CHAR_WRITE_VAL,
    IDX_CHAR_WRITE_CFG,

    IDX_CHAR_MESS,
    IDX_CHAR_MESS_VAL,
    IDX_CHAR_MESS_CFG,

    HRS_IDX_NB,
};


void ble_init(void);
int8_t ble_datas_send(void *pvDatas, int32_t iLength);


#endif
